using Boo.Lang;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using UnityEngine;

[Serializable]
public class ArcadeTopLauncher : MonoBehaviour
{
	[Serializable]
	[CompilerGenerated]
	internal sealed class _0024launch_0024252 : GenericGenerator<WaitForSeconds>
	{
		internal ArcadeTopLauncher _0024self__0024255;

		public _0024launch_0024252(ArcadeTopLauncher self_)
		{
			_0024self__0024255 = self_;
		}

		public override IEnumerator<WaitForSeconds> GetEnumerator()
		{
			return new _0024(_0024self__0024255);
		}
	}

	public Rigidbody[] tops;

	private float interval;

	private Transform tr;

	public ArcadeTopLauncher()
	{
		interval = 5f;
	}

	public void Awake()
	{
		tr = transform;
		StartCoroutine(launch());
	}

	public IEnumerator launch()
	{
		return new _0024launch_0024252(this).GetEnumerator();
	}

	public void change()
	{
		interval = UnityEngine.Random.Range(6.5f, 13f);
	}

	public void Main()
	{
	}
}
